package com.barbeque.mall.service.wx;

import com.barbeque.mall.bean.BasePageInfo;
import com.barbeque.mall.bean.order.MarketOrderGoods;
import com.barbeque.mall.bean.param.CommonData;
import com.barbeque.mall.bean.wx.order.*;
import com.barbeque.mall.exception.ProductNumberException;

public interface WxOrderService {

    WxOrderSubmitPo submit(WxOrderCommitBo wxOrderCommitBo);

    CommonData<WxOrderListVo> list(int showType, BasePageInfo pageInfo);

    WxOrderDetailVo detail(int orderId);

    void cancel(WxOrderCancelBo wxOrderCancelBo);


    void refund(WxOrderCancelBo wxOrderRefundBo);

    void confirm(WxOrderCancelBo wxOrderConfirmBo);


    MarketOrderGoods goods(Integer orderId, Integer goodsId);

    void comment( WxOrderCommentBo wxOrderCommitBo);

    void prepay(Integer id);

}
